function sliceButton(rightBtns, index) {
  return rightBtns.slice(0, index + 1);
}

export default {
  sliceButton,
};
